<?php


namespace mpend\modules\notice\models;

use common\helpers\ArrayHelper;
use common\models\notice\NoticeAttach;
use common\models\notice\NoticeNeed;
use Yii;
use common\models\notice\Notice;

class NoticeView extends Notice
{

    public function fields()
    {
        return [
            'id',
            'user_id',
            'actor_id' => 'actorId',
            'user' => 'userText',
            'title',
            'description',
            'location',
            'salary',
            'experience',
            'starttime',
            'endtime',
            'created_at',
            'roles',
            'attach',
            'issend',
            'icon',
            'hits'
        ];
    }
}